CC = gcc

VERSION = 0.1.1

INCS = -Ithird-party

CFLAGS = $(INCS) -Wall

SRC = core.c key.c layout.c widget.c
OBJ = $(SRC:.c=.o)


.c.o:
	$(CC) $(CFLAGS) -c $<

#core.o: key.o layout.o widget.o

all: test

test: $(OBJ) main.o
	$(CC) -o $@ $(OBJ) main.o $(CFLAGS)

clean:
	$(RM) *.o
